package com.gz.feigen.order.controller;

import com.gz.feigen.order.FeigenOrder80;
import com.gz.feigen.order.service.FeignService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.HashMap;

@RestController
@RequestMapping("/api/feign")
public class Test {

    @Autowired
    private FeignService service;

    @GetMapping("/test")
    public HashMap<String, String> getMessage() {
        return service.getMessage();
    }
}
